﻿var LoginCtrl = (function () {
	var that;
	var obj = function () {
		that = this;
	};

	obj.prototype = {
		ctrl: function ($scope, $http) {
			that.$scope = $scope;
			that.$http = $http;

			that.$scope.redirect = Util.navChange;
			that.$scope.login = that.login;
		},

		login: function () {
		    location.href = "index.html";
		}
	};

	return new obj();
})();